#include <iostream>
#include "../instances.h"
using namespace std;

int main()
{
    select_attrs sel("select_attrs.txt");
    vector<attribute_info>* infos = attribute_info::get_all_attr_info("aa");

    instances a("training.data",sel.bitmap(),infos);
//a.print();
    cout<<a.size()<<endl;
//a.calculate_ave();
a.data_clean();
cout<<endl<<"***************************************************"<<endl;
cout<<a._ave;
cout<<endl<<"***************************************************"<<endl;
    /*
//    a.ignore_missing();
//cout<<a.size()<<endl;
cout<<a;
*/
    return 0;
}
